package main

type birth struct {
	year  int
	month int
	day   int
}

type standard struct {
	excellent int
	passed    int
	noPassed  int
}

type subject struct {
	name  string
	score int
	stand standard
}
type data struct {
	studenrID      string
	studentName    string
	studentSubject [20]subject
	studentBirth   birth
	failed         int
	class          int
	totalScore     int
}

//Student 用来传输输入实现链表
type Student struct {
	studentData data
	next        *Student
}

//Node 指向链表的头指针
type Node struct {
	head *Student
}

func main() {
	welcome()
	var List Node
	List.head = nil
	creat(&List)
	service(&List)
	goodbye()
}
